package com.itheima.Method;

public class Method05 {
    public static void main(String[] args) {
        double max = printMax(12.0F, 'a');
        System.out.println("最大值:" + max);
    }

    public static double printMax(double a, double b) {

        double max = a > b ? a : b;
        return max;
    }
}
